<table border=1 width=100%>
	<?php foreach($this->galleries as $gallery) : ?>
	<tr>
	    <th><?php echo $gallery->title;?></th>
	</tr>
	<tr>
	    <td>
	    	<img src="upload/<?php echo $gallery->namefile;?>" width="50" height="50" alt="Planets">
	    	<?php echo $gallery->msg;?>
	    </td>
	</tr>
	<tr>
	    <td>Date: <?php echo $this->escape($gallery->datet);?></td>
	</tr>
	<?php endforeach; ?>
</table>
<br \>
